.double2 {
  display: block;
  width: 30px;
  height: 30px;
  margin: 30px auto;
  position: relative;
}
.double2::before,
.double2::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #98bff6;
  position: absolute;
  top: 5px;
  left: 15px;
}
.double2::before {
  animation: double_lt 2s linear infinite;
}
.double2::after {
  animation: double_gt 2s linear infinite;
}
@keyframes double_lt {
  0% {
    transform: scale(1) translate(-8px, 0);
  }
  25% {
    transform: scale(0.5) translate(0, -7px);
  }
  50% {
    transform: scale(1) translate(8px, 0);
  }
  75% {
    transform: scale(1.5) translate(0, 2px);
  }
  100% {
    transform: scale(1) translate(-8px, 0);
  }
}
@keyframes double_gt {
  0% {
    transform: scale(1) translate(8px, 0);
  }
  25% {
    transform: scale(1.5) translate(0, 2px);
  }
  50% {
    transform: scale(1) translate(-8px, 0);
  }
  75% {
    transform: scale(0.5) translate(0, -7px);
  }
  100% {
    transform: scale(1) translate(8px, 0);
  }
}
.loading {
  width: 80px;
  height: 40px;
  margin: 0 auto;
  margin-top: 100px;
}
.loading span {
  display: inline-block;
  width: 8px;
  height: 100%;
  border-radius: 4px;
  background: lightgreen;
  animation: load 1s ease infinite;
}
.loading span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading span:nth-child(3) {
  animation-delay: 0.4s;
}
.loading span:nth-child(4) {
  animation-delay: 0.6s;
}
.loading span:nth-child(5) {
  animation-delay: 0.8s;
}
@keyframes load {
  0%,
  100% {
    height: 40px;
    background: lightgreen;
  }
  50% {
    height: 70px;
    margin: -15px 0;
    background: lightblue;
  }
}
.loading2 {
  width: 150px;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto;
  margin-top: 100px;
  position: relative;
  background: lightgreen;
  animation: changeBgColor 1.04s ease-in infinite alternate;
}
.loading2::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: lightgreen;
  position: absolute;
  margin-top: -7px;
  margin-left: -8px;
  animation: changePosition 1.04s ease-in infinite alternate;
}
@keyframes changeBgColor {
  0% {
    background: lightgreen;
  }
  100% {
    background: lightblue;
  }
}
@keyframes changePosition {
  0% {
    background: lightgreen;
  }
  100% {
    margin-left: 142px;
    background: lightblue;
  }
}
.loading3 {
  width: 150px;
  height: 15px;
  margin: 0 auto;
  position: relative;
  margin-top: 100px;
}
.loading3 span {
  position: absolute;
  width: 15px;
  height: 100%;
  border-radius: 50%;
  background: lightgreen;
  animation: load3 1.04s ease-in infinite alternate;
}
.loading3 span:nth-child(1) {
  animation-delay: 0.13s;
}
.loading3 span:nth-child(2) {
  animation-delay: 0.26s;
}
.loading3 span:nth-child(3) {
  animation-delay: 0.39s;
}
.loading3 span:nth-child(4) {
  animation-delay: 0.52s;
}
.loading3 span:nth-child(5) {
  animation-delay: 0.65s;
}
@keyframes load3 {
  0% {
    opacity: 1;
    transform: translate(0px);
  }
  100% {
    opacity: 0.2;
    transform: translate(150px);
  }
}
.loading4 {
  width: 150px;
  height: 15px;
  margin: 0 auto;
  margin-top: 100px;
  text-align: center;
}
.loading4 span {
  display: inline-block;
  width: 15px;
  height: 100%;
  margin-right: 5px;
  background: lightgreen;
  animation: load4 1.04s ease infinite;
}
.loading4 span:last-child {
  margin-right: 0px;
}
.loading4 span:nth-child(1) {
  animation-delay: 0.13s;
}
.loading4 span:nth-child(2) {
  animation-delay: 0.26s;
}
.loading4 span:nth-child(3) {
  animation-delay: 0.39s;
}
.loading4 span:nth-child(4) {
  animation-delay: 0.52s;
}
.loading4 span:nth-child(5) {
  animation-delay: 0.65s;
}
@keyframes load4 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.loadEffect {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 0 auto;
  margin-top: 100px;
}
.loadEffect span {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: lightgreen;
  position: absolute;
  animation: loadEff 1.04s ease infinite;
}
.loadEffect span:nth-child(1) {
  left: 0;
  top: 50%;
  margin-top: -8px;
  animation-delay: 0.13s;
}
.loadEffect span:nth-child(2) {
  left: 14px;
  top: 14px;
  animation-delay: 0.26s;
}
.loadEffect span:nth-child(3) {
  left: 50%;
  top: 0;
  margin-left: -8px;
  animation-delay: 0.39s;
}
.loadEffect span:nth-child(4) {
  top: 14px;
  right: 14px;
  animation-delay: 0.52s;
}
.loadEffect span:nth-child(5) {
  right: 0;
  top: 50%;
  margin-top: -8px;
  animation-delay: 0.65s;
}
.loadEffect span:nth-child(6) {
  right: 14px;
  bottom: 14px;
  animation-delay: 0.78s;
}
.loadEffect span:nth-child(7) {
  bottom: 0;
  left: 50%;
  margin-left: -8px;
  animation-delay: 0.91s;
}
.loadEffect span:nth-child(8) {
  bottom: 14px;
  left: 14px;
  animation-delay: 1.04s;
}
@keyframes loadEff {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.2;
    transform: scale(0.5);
  }
}
.loading5 {
  /* display: inline-block; */
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid lightgreen;
  border-bottom-color: transparent;
  -webkit-animation: load5 0.75s linear infinite;
  animation: load5 0.75s linear infinite;
  margin: 10px auto;
}
@-webkit-keyframes load5 {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes load5 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.dot {
  display: block;
  width: 32px;
  height: 32px;
  position: relative;
  margin: 10px auto;
}
.dot::before,
.dot::after {
  content: '';
  display: block;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: lightgreen;
  position: absolute;
  top: 50%;
  left: 50%;
}
.dot::before {
  opacity: 0.6;
  transform: scale(2);
  animation: bigDot 2s infinite;
}
.dot::after {
  opacity: 0.4;
  transform: scale(0.1);
  animation: smallDot 2s infinite;
}
@keyframes bigDot {
  0% {
    transform: scale(2);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(2);
  }
}
@keyframes smallDot {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(0);
  }
}
.loading6 {
  margin: 20px auto;
  display: flex;
  justify-content: center;
}
.loading6 div {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-color: #0179B5;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.loading6 div:nth-child(1) {
  -webkit-animation: loading6 0.5s ease 0s infinite alternate;
  animation: loading6 0.5s ease 0s infinite alternate;
}
.loading6 div:nth-child(2) {
  -webkit-animation: loading6 0.5s ease 0.1s infinite alternate;
  animation: loading6 0.5s ease 0.1s infinite alternate;
}
.loading6 div:nth-child(3) {
  margin-right: 0;
  -webkit-animation: loading6 0.5s ease 0.2s infinite alternate;
  animation: loading6 0.5s ease 0.2s infinite alternate;
}
@keyframes loading6 {
  from {
    /*缩放*/
    transform: scale(1);
    background-color: lightcoral;
  }
  to {
    transform: scale(0.5);
    background-color: #0179B5;
  }
}
/* 
@-webkit-keyframes loading {
  from {
    transform: scale(1);
    background-color: lightcoral;
  }

  to {
    transform: scale(0.5);
    background-color: #0179B5;
  }
}

@-moz-keyframes loading {
  from {
    transform: scale(1);
    background-color: lightcoral;
  }

  to {
    transform: scale(0.5);
    background-color: #0179B5;
  }
}

@-o-keyframes loading {
  from {
    transform: scale(1);
    background-color: lightcoral;
  }

  to {
    transform: scale(0.5);
    background-color: #0179B5;
  }
} */
